<!DOCTYPE html>
<html>
<head>
  {include file="top.tpl"}
  <link rel="stylesheet" href="{$css.url}base_setting_min.css">
</head>
<body class="skin-blue">
<div class="wrapper">
  {include file="bread_crumbs.tpl"}
  <!--引入面包屑-->
  <section class="base-setting-wrap">
    <div class="row">
      <div class="col-md-12">
        <div class="box">
          <div class="box-header with-border clearfix">
              <div class="box-form pull-right form-group-sm">
                 <form method="get" action="" class="simple_search">
                     <input type="hidden" name="act" value="simple_search">
                         <p class="pull-right">
                            <a href="javascript:;" class="btn btn-success btn-sm" id="js_toggleSearchBox">
                               <i class="fa fa-search mr5">                                
                               </i>
                                                                                     搜索选项
                            </a>
                         </p>
                     </input>
                 </form>
              </div>
              <div class="clearfix"></div>
              <div class="search-box" id="js_searchBox">
                  <div class="nav-tabs-custom no-margin">
                      <div class="tab-content">
                         <div class="tab-pane active" id="tab_1">
                            <form method="get" action="/base/warehouse/index" class="form-inline" >
                                <div class="form-group-sm">
                                    <div class="mb10">
                                       <p>
                                          <div class="form-group">
                                              &nbsp;&nbsp;&nbsp;&nbsp;
                                              <label class="control-label">修改内容:</label>
                                              <div class="inline">
                                                  <select class="form-control" name="modify_column"  >
                                                       <option value="">请选择</option>
                                                       <option value="supplier_sn">供应商编码</option>
                                                       <option value="goods_resource_status">货源状态</option>
                                                       <option value="purchaser">采购员</option>  
                                                  </select>
                                              </div>
                                              &nbsp;&nbsp;&nbsp;&nbsp;
                                              <label class="control-label">修改人:</label>
											                        <input type="text" class="form-control" name="update_user"  size="23" value="{if isset($params.keyword)}{$params.keyword}{/if}">
                                          </div>
                                          &nbsp;&nbsp;&nbsp;&nbsp;
	                                      <button type="submit" class="btn btn-primary btn-sm">搜索</button>     
                                       </p>
                                    </div>
                                </div>
                            </form>
                         </div>
                      </div>
                  </div> 
              </div>
          </div>
          <!-- /.box-header search options -->
          <div class="box-body">
            <table class="table table-bordered table-striped table-hover">
              <thead>
                <tr>
                  <th>产品编码</th>
                  <th>修改内容</th>
                  <th>修改前</th>
                  <th>修改后</th>
                  <th>修改人</th>
                  <th>修改时间</th>
                </tr>
              </thead>
              <tbody>
              {foreach $logList as $log}
                <tr>
                  <td>{$log['goods_sn']}</td>
                  <td>{$log['which_col']}</td>
                  <td>{$log['old_value']}</td>
                  <td>{$log['new_value']}</td>
                  <td>{$log['update_user']}</td>
                  <td>{$log['update_time']}</td>
                </tr>
              {/foreach}
              </tbody>
            </table>
          </div>
          <!-- .box-body -->
          <div class="box-footer text-center clearfix">{$pageLink}</div>
        </div>
      </div>
    </div>
  </section>
</div>
{include file='foot.tpl'}
</body>
</html>